import request from "../utils/request.js";

export type ApiLoginData = {
    name: string;
    password: string;
}
export function login(data:ApiLoginData){
    return request({
        url: '/auth/login',
        method: 'post',
        data
    })
}
